package com.bidevalution.core.constant;

import com.qtp.core.config.PropertiesTookit;

/**
 * @author huyiqi
 * @date 2019/11/11
 */
public class ApiConstant {
    /**
     * 建易接口
     */
    public static final String WEBSERVICE_URL_DATASERVICE = PropertiesTookit.getValue("WEBSERVICE_URL_DATASERVICE");
    /**
     * 建易接口：推送標錄
     */
    public static final String WEBSERVICE_URL_SERVICE = PropertiesTookit.getValue("WEBSERVICE_URL_SERVICE");
    /**
     * 方欣接口：專家驗證
     */
    public static final String WEBSERVICE_URL_EXPORTZJINFOSERVICE = PropertiesTookit.getValue("WEBSERVICE_URL_EXPORTZJINFOSERVICE");
    /**
     * 方欣接口：投標保證金、資格審查、抓取項目信息
     */
    public static final String WEBSERVICE_URL_GETDATA = PropertiesTookit.getValue("WEBSERVICE_URL_GETDATA");
    /**
     * 方欣接口：推送項目信息
     */
    public static final String WEBSERVICE_URL_ACCEPTSERVICE = PropertiesTookit.getValue("WEBSERVICE_URL_ACCEPTSERVICE");
    /**
     * T9接口：所有
     */
    public static final String HTTP_URL_T9 = PropertiesTookit.getValue("HTTP_URL_T9");

    public static final String HTTP_URL_IDS = PropertiesTookit.getValue("HTTP_URL_IDS");

    /**
     * 建易解密密鑰
     */
    public static final String DEFAULT_JY_DES_KEY = PropertiesTookit.getValue("DEFAULT_JY_DES_KEY");
    /**
     * 建易解密偏移量
     */
    public static final byte[] DEFAULT_JY_DES_IV = { 0x12, 0x34, 0x56, 0x78, (byte)0x90, (byte)0xAB, (byte)0xCD, (byte)0xEF };

    public static final String TOKEN_T9 = PropertiesTookit.getValue("TOKEN_T9");
    public static final String TOKEN_JY = PropertiesTookit.getValue("TOKEN_JY");
    public static final String TOKEN_JY_BL = PropertiesTookit.getValue("TOKEN_JY_BL");
    public static final String ACCOUNT_FX = PropertiesTookit.getValue("ACCOUNT_FX");
    public static final String PASS_FX = PropertiesTookit.getValue("PASS_FX");
    public static final String SECRET_KEY_T9 = PropertiesTookit.getValue("SECRET_KEY_T9");
    /**
     * 地区编号：如果配置了该参数，就只会解析标段编号以此开头的项目
     */
    public static final String AREA_CODE = PropertiesTookit.getValue("AREA_CODE");
    /**
     * 绑定项目编号：如果配置了该参数，那么除了配置的项目编号，其他的都不会被解析（优先级比地区编号高）。
     */
    public static final String BIND_SECTION_CODE = PropertiesTookit.getValue("BIND_SECTION_CODE");
}
